package net.dengzixu.java.homework.period14.homework2;

/**
 * @author Deng Zixu <admin@dengzixu.com>
 */
public class StudentTest {
    public static void main(String[] args) {
        Student s1 = new Student("sxt0001", "张三", "男", 18, 90);
        Student s2 = new Student("sxt0002", "李四", "女", 15, 92);
        Student s3 = new Student("sxt0003", "王五", "男", 17, 93);
        Student s4 = new Student("sxt0004", "赵六", "男", 21, 95);
        Student s5 = new Student("sxt0005", "钱七", "男", 19, 97);

        System.out.println("最低成绩: " + s5.min());
        System.out.println("最高成绩: " + s5.max());
        System.out.println("平均成绩: " + s5.avg());
    }
}
